Skip to content

Conversation

@darki73
Copy link
Contributor

@darki73 darki73 commented Nov 29, 2023

This pull request adds an ability to specify the 'status' of the card, similar to this:

(this image was obtained by googling "mastercard platinum")

When:

return CreditCardWidget(
  bankName: 'ADCB',
  cardStatus: 'Platinum',
);

image

When:

return CreditCardWidget(
  bankName: 'ADCB',
);

image

When:

return CreditCardWidget(
  cardStatus: 'Platinum',
);

image

@darki73
Copy link
Contributor Author

darki73 commented Nov 29, 2023

I know I'm using too many if conditions, but this PR was hastily thrown together during the development of my application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant